﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%:Html.Translate("projectList") %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <script>
        $(function () {
            $("#tabs").tabs();
        });
    </script>


    <h2><%:Html.Translate("projectList") %></h2>
    <p>
        <%: Html.ActionLink(Html.Translate("createNew"), "Create","StudentProject")%>
    </p>
    <div id="tabs">
	<ul>
		<li><a href="#tabs-1"><%:Html.Translate("myProjects") %></a></li>
		<li><a href="#tabs-2"><%:Html.Translate("subscribedProjects")%></a></li>
	</ul>
	<div id="tabs-1">
		<h3><%:Html.Translate("myProjects") %></h3>
        <%Html.RenderAction("MyProjects", "StudentProject"); %>
	</div>
	<div id="tabs-2">
		<h3><%:Html.Translate("subscribedProjects")%></h3>
        <%Html.RenderAction("InvolvedProjects", "StudentProject"); %>
	</div>
	
</div>



</asp:Content>
